package edu.njust.httpmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.njust.httpmanager.entity.Catalog;
import edu.njust.httpmanager.entity.dto.CatalogDto;

import java.util.List;

/**
* @author Goal
* @description 针对表【catalog(目录)】的数据库操作Service
* @createDate 2023-09-03 16:51:53
*/
public interface ICatalogService extends IService<Catalog> {

    /**
     * 根据项目id获取项目的所有目录
     * @param programId
     * @return
     */
    List<CatalogDto> getAllByProgramId(Long programId);

    void deleteCatalog(Long id);
}
